package com.edu.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.edu.entity.HfdLocInfo;
import com.edu.entity.HfdOrderInfo;
import com.edu.order.entity.OrderPage;
import com.edu.vo.Result;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author jr
 * @since 2021-04-13
 */
public interface IHfdOrderInfoService extends IService<HfdOrderInfo> {


    //订单生成
    public Result order(OrderPage orderPage);

    //超时订单修改状态
    public Result releaseOrder(String orderId);

    //订单页面数据初始化
    public Result orderPage(Integer skuId);

    //根据orderId获取订单数据
    public HfdOrderInfo findOrderById(String orderId);

    //购买成功后添加
    Result addUserVideo(HfdOrderInfo hfdOrderInfo);
}
